<baseinput :state="state">
  <div style="position:relative; width: 100%" slot="loading" v-if="loadingState === 'loading'">
    <bar-loader loading="true"></bar-loader>
  </div>
  <select
    style="width:100%;"
    slot="body"
    v-disabled="!editable || loadingState === 'loading' || loadingState === 'error'"
    class="form-control">
    <option></option>
    <option :value="getValue(value.value)" v-for="value in state.input.options.values">{{ value.key }}</option>
  </select>
  <p v-if="loadingState === 'error'" class="error-input-message" slot="message" v-t="'server_error'"></p>
</baseinput>
